Run CLI tests on all warehouses instead of just Postgres#2094
Run CLI tests on all warehouses instead of just Postgres#2094
Conversation
- Add pull_request_target trigger to test-all-warehouses.yml - Add workflow_call trigger for reusability - Remove dbt 1.8.0 from matrix, run only on latest version - Update elementary-ref to use PR head SHA for pull_request_target events - Skip Slack notifications for PR failures to avoid spam - Delete test-main-warehouse.yml (superseded by test-all-warehouses.yml) Resolves ELE-5218 Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
👋 @devin-ai-integration[bot] |
📝 WalkthroughWalkthroughConsolidated CI/CD testing by adding pull_request_target trigger to the all-warehouses workflow, enabling tests across all warehouse types on pull requests. Removed the single-warehouse-only test workflow and reduced dbt version matrix to latest only. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
Summary
This PR updates the CI workflow to run Elementary CLI tests on all warehouse platforms (postgres, snowflake, bigquery, redshift, databricks_catalog, athena) for pull requests, instead of only running on Postgres. This aligns the CLI repo's testing approach with the dbt-data-reliability package repo.
Key changes:
pull_request_targettrigger totest-all-warehouses.yml(with same paths filter as before)test-main-warehouse.yml(superseded by the updated workflow)Resolves ELE-5218
Review & Testing Checklist for Human
pull_request_target+elementary-refpattern correctly checks out the PR code (uses PR head SHA when triggered by pull_request_target)Recommended test plan: Create a test PR that touches a file in
elementary/and verify that all 6 warehouse jobs are triggered and theelementary-refcorrectly points to the PR branch code.Notes
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.